
<!DOCTYPE html>
<html class="client-nojs" lang="en" dir="ltr">
<head>
<meta charset="UTF-8"/>
<title>Pano modify - PanoTools.org Wiki</title>




<style media="screen" type="text/css" title="Screen style sheet"> @import url(manual.css); </style>

<meta name="generator" content="MediaWiki 1.35.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>





<!--[if lt IE 9]><![endif]-->
</head>
<body class="mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Pano_modify rootpage-Pano_modify skin-vector action-view skin-vector-legacy">


<div id="content" class="mw-body" role="main">
	<a id="top"></a>
	
	
	<h1 id="firstHeading" class="firstHeading" lang="en">Pano modify</h1>
	<div id="bodyContent" class="mw-body-content">
		<div id="siteSub" class="noprint">From PanoTools.org Wiki</div>
		
		
		
		
		
		
		<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="mw-parser-output"><p>The program <b>pano_modify</b> allows you to change some output options of a project file on the command line. The same functions can also accessed inside Hugin's GUI on the <a href="Hugin_Stitcher_tab.html" title="Hugin Stitcher tab">hugin Stitcher tab</a> or in the <a href="Hugin_Fast_Preview_window.html" title="Hugin Fast Preview window">hugin Fast Preview window</a>.
</p><p>You have to give at least an input project file:
</p>
<pre>  pano_modify input.pto
</pre>
<p>In this case the unmodified input.pto project file is written to input_mod.pto. To change some parameters you have to add some switches, e.g.:
</p>
<pre>  pano_modify -c --crop=AUTO --output=output.pto input.pto
</pre>
<h2><a name="Options"><span class="mw-headline">Options</span></a></h2>
<ul><li><tt>-o, --output=file.pto</tt>: Writes the output to the given project file. If this parameter is not given the suffix _mod is added to the given input project.</li>
<li><tt>-p, --projection=x</tt>: Sets the output projection to the projection with number x.</li>
<li><tt>--fov=AUTO|HFOV|HFOVxVFOV</tt>: Sets output field of view. Following arguments are possible
<ul><li><tt>AUTO</tt>: calculates optimal fov.</li>
<li>HFOV: set hfov to given hfov (If output projection has coupled hfov and vfov, vfov is automatic changed).</li>
<li>HFOVxVFOV: set to given hfov and vfov.</li></ul></li>
<li><tt>-s, --straighten</tt>: Straightens the panorama.</li>
<li><tt>-c, --center</tt>: Centers the panorama.</li>
<li><tt>--canvas=AUTO|num%|WIDTHxHEIGHT</tt>:  Sets the output canvas size
<ul><li><tt>AUTO</tt>: calculate optimal canvas size</li>
<li>num%: scales the optimal canvas size by the given percent value, e.g. <tt>--canvas=70%</tt> will scale the image to 70&#160;% of the optimal size.</li>
<li>WIDTHxHEIGHT: set to given size</li></ul></li>
<li><tt>--crop=AUTO|AUTOHDR|left,right,top,bottom|left,right,top,bottom%</tt>:  Sets the crop rectangle for the output
<ul><li><tt>AUTO</tt>: performs an autocrop to the maximal possible size of the panorama</li>
<li><tt>AUTOHDR</tt>: performs a HDR autocrop to the maximal possible size covered by all exposures</li>
<li>left,right,top,bottom: sets the crop to the given size</li>
<li>left,right,top,bottom%: sets the crop relative (0&#160;% is the left/top border of the canvas, 100&#160;% the right/bottom border, hint: only one percentage sign at the end)</li></ul></li>
<li><tt>--output-exposure=AUTO|value</tt>: Sets the output exposure of the panorama
<ul><li><tt>AUTO</tt>: set output exposure to mean exposure of all images</li>
<li>value: set output exposure to given value</li></ul></li>
<li><tt>--output-range-compression=value</tt>: Sets the output range compression value</li>
<li><tt>--output-type=str</tt>: Activates the output of the given items. This switch can be given several times or several items in one switch can be separated by a comma.
<ul><li><tt>NORMAL|N</tt>: normal panorama</li>
<li><tt>STACKSFUSEDBLENDED|BF</tt>: LDR panorama with blended stacks</li>
<li><tt>EXPOSURELAYERSFUSED|FB</tt>: LDR panorama with fused exposure layers (any arrangement)</li>
<li><tt>HDR</tt>: HDR panorama</li>
<li><tt>REMAP</tt>: remapped images with corrected exposure</li>
<li><tt>REMAPORIG</tt>: remapped images with uncorrected exposure</li>
<li><tt>HDRREMAP</tt>: remapped images in linear color space</li>
<li><tt>FUSEDSTACKS</tt>: exposure fused stacks</li>
<li><tt>HDRSTACKS</tt>: HDR stacks</li>
<li><tt>EXPOSURELAYERS</tt>: blended exposure layers</li></ul></li>
<li><tt>--ldr-file=JPG|TIF|PNG</tt>: Sets the filetype for LDR panorama output</li>
<li><tt>--ldr-compression=str</tt>: Sets the compression for LDR panorama output
<ul><li>For TIF files the following compressions are supported: <tt>NONE|PACKBITS|LZW|DEFLATE</tt></li>
<li>For JPG files the quality as number is expected</li></ul></li>
<li><tt>--hdr-file=EXR|TIF</tt>: Sets the filetype for HDR panorama output</li>
<li><tt>--hdr-compression=str</tt>: Sets the compression for HDR panorama output
<ul><li>For TIF files the following compressions are supported: <tt>NONE|PACKBITS|LZW|DEFLATE</tt></li></ul></li>
<li><tt>--rotate=yaw,pitch,roll</tt> rotate the panorama by the given angles</li>
<li><tt>--translate=x,y,z</tt> translate the panorama by the given distances</li></ul>

<!--
Transclusion expansion time report (%,ms,calls,template)
100.00%    0.000      1 -total
-->


</div></div><div class="printfooter">Retrieved from "<a dir="ltr" href="https://wiki.panotools.org/index.php?title=Pano_modify&amp;oldid=17271">https://wiki.panotools.org/index.php?title=Pano_modify&amp;oldid=17271</a>"</div>
		</div></div></body></html>